package com.axend.aerosense.room.entity;

import com.axend.aerosense.base.bean.BaseBean;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

public class RoomEditListBean extends BaseBean {

    private List<RoomInfo> editList;

    public RoomEditListBean() {
    }

    public RoomEditListBean(List<RoomInfo> editList) {
        this.editList = editList;
    }

    public List<RoomInfo> getEditList() {
        return editList;
    }

    public void setEditList(List<RoomInfo> editList) {
        this.editList = editList;
    }

    public static class RoomInfo{
        private String roomName;
        private int deviceCount;

        public RoomInfo() {
        }

        public RoomInfo(String roomName, int deviceCount) {
            this.roomName = roomName;
            this.deviceCount = deviceCount;
        }

        public String getRoomName() {
            return roomName;
        }

        public void setRoomName(String roomName) {
            this.roomName = roomName;
        }

        public int getDeviceCount() {
            return deviceCount;
        }

        public void setDeviceCount(int deviceCount) {
            this.deviceCount = deviceCount;
        }
    }

}
